package com.example.demo_homework2.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("评论信息数据模型")
public class CmsComment {
    @ApiModelProperty("评论编号")
    private String id;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("文章编号")
    private String artId;

    @ApiModelProperty("评论人")
    private String memberName;

    @ApiModelProperty("评论时间")
    private Date commentDate;

    @ApiModelProperty("评论状态")
    private String status;

    @ApiModelProperty("评论标题")
    private String artTitle;

    public String getArtTitle() {
        return artTitle;
    }

    public void setArtTitle(String artTitle) {
        this.artTitle = artTitle;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getArtId() {
        return artId;
    }

    public void setArtId(String artId) {
        this.artId = artId == null ? null : artId.trim();
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName == null ? null : memberName.trim();
    }

    public Date getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(Date commentDate) {
        this.commentDate = commentDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }
}